home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 7661 / 7661.xpi / chrome / isreaditlater.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2009-12-23  |  17KB  |  503 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://isreaditlater/locale/isreaditlater.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://isreaditlater/skin/ril.css" type="text/css"?>
  7.  
  8.  
  9.  
  10.  
  11. <dialog id="RIL_options"
  12.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         title="&ril.Options;"
  14.         buttons="accept,cancel"
  15.         ondialogaccept="return RILoptions.accept();"
  16.         ondialogcancel="return RILoptions.cancel();"
  17.         onload="RILoptions.init();"
  18.         persist="screenX screenY">
  19.     
  20.     
  21.     <hbox id="RIL_options_content" flex="1">
  22.         <listbox id="RIL_options_menu" onselect="RILoptions.selectTab(this.value)">
  23.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/book16_square.png" label="&ril.account;" selected="true" value="account" id="RIL_options_menu_account" />
  24.                         <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/brick_add.png" label="&ril.applications;" value="apps" id="RIL_options_menu_apps" />
  25.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/disconnect.png" label="&ril.offline;" value="offline" id="RIL_options_menu_offline" />            
  26.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/keyboard.png" label="&ril.KeyboardShortcuts;" value="keyboard" id="RIL_options_menu_keyboard" />
  27.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/wrench_orange.png" label="&ril.appearance;" value="appearance" id="RIL_options_menu_appearance" />
  28.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/cog_graphic.png" label="Advanced" value="tweaks" id="RIL_options_menu_tweaks" />
  29.             <listitem class="listitem-iconic" image="chrome://isreaditlater/skin/comment.png" label="&ril.helpSupport;" value="help" id="RIL_options_menu_help" />
  30.         </listbox>
  31.         
  32.         
  33.         <!-- Tab : Account -->
  34.             
  35.         <vbox hidden="true" id="RIL_options_account" flex="1" class="RIL_option_tab">                        
  36.             
  37.             <vbox id="RIL_optionsForSignedOut" hidden="true">
  38.                 <groupbox>
  39.                     <caption label="&ril.signInto;" />
  40.                     
  41.                     <hbox>
  42.                                                 <button label="Log In" oncommand="RIL.openLogin();window.close()" />
  43.                                                 <button label="Sign Up" oncommand="RIL.openLogin();window.close()" />
  44.                     </hbox>
  45.                 </groupbox>
  46.                 
  47.                 <groupbox>
  48.                     <caption label="&ril.myData;" />
  49.                     
  50.                     <hbox>
  51.                         <button label="&ril.eraseLocal;" oncommand="RILoptions.clearLocalData()"  />                        
  52.                     </hbox>
  53.                 </groupbox>
  54.             </vbox>
  55.             
  56.             <vbox id="RIL_optionsForSignedIn" hidden="true">
  57.                 <groupbox>
  58.                     <caption id="RIL_options_username_label" />
  59.                     
  60.                     <hbox>
  61.                                                 <button label="&ril.rssFeed;" oncommand="RIL.openToRSSFeed()" />
  62.                                                 <button label="&ril.onlineList;" oncommand="RIL.APP.openSitePage('unread', true)" />                    
  63.                                                 <button label="&ril.logout;" oncommand="RIL.APP.logout();RILoptions.configureAccount();"  />
  64.                     </hbox>
  65.                 </groupbox>
  66.                         
  67.                 <groupbox>
  68.                     <caption label="&ril.myAccount;" />
  69.                     
  70.                     <hbox>
  71.                         <button label="&ril.editMyAccount;" oncommand="RIL.APP.openSitePage('options', true);"  />
  72.                         <button label="&ril.privacySettings;" oncommand="RIL.APP.openSitePage('privacy_controls', true)"  />
  73.                     </hbox>
  74.                 </groupbox>
  75.                 
  76.                 <groupbox>
  77.                     <caption label="&ril.myData;" />
  78.                     
  79.                     <hbox>
  80.                         <button label="&ril.eraseLocal;" oncommand="RILoptions.clearLocalData()"  />
  81.                         <button label="&ril.eraseOnline;" oncommand="RIL.APP.openSitePage('privacy_clear', true)"  />
  82.                     </hbox>
  83.                 </groupbox>
  84.             </vbox>
  85.         </vbox>
  86.         
  87.         
  88.         
  89.         <!--- Tab : Offline Mode -->    
  90.  
  91.         <vbox hidden="true" id="RIL_options_offline" flex="1" class="RIL_option_tab">
  92.                 
  93.             <groupbox>
  94.                 <caption label="&ril.offlineOptions;" />
  95.                 
  96.                 <vbox>
  97.                     <checkbox id="RIL_autoOffline" label="&ril.AutoOffline;" />
  98.                     <checkbox id="RIL_offlineOptionDownloadWeb" label="&ril.downloadWeb;" />
  99.                     <checkbox id="RIL_offlineOptionDownloadText" label="&ril.downloadText;" />
  100.                 </vbox>
  101.                 
  102.             </groupbox>
  103.             
  104.             <groupbox>
  105.                 <caption label="&ril.offlineContent;" />
  106.                 
  107.                 <hbox>
  108.                     <button id="RIL_clearOffline" label="&ril.clearOfflineFiles;" oncommand="RILoptions.clearOfflineCache()" />
  109.                     <button id="RIL_moveOffline" label="&ril.changeOfflineDirectory;" oncommand="RILoptions.changeOfflineDirectory()" />
  110.                 </hbox>
  111.                 
  112.             </groupbox>
  113.             
  114.         </vbox>
  115.         
  116.         
  117.         
  118.         <!--- Tab : Applications -->    
  119.  
  120.         <vbox hidden="true" id="RIL_options_apps" flex="1" class="RIL_option_tab">
  121.             
  122.             <groupbox>
  123.                 <caption label="Google Reader" />
  124.                 
  125.                 <vbox>
  126.                     <checkbox label="Show Read It Later button in Google Reader" id="RIL_optionsGoogleReader" />                    
  127.                 </vbox>
  128.                 
  129.             </groupbox>
  130.         
  131.             <groupbox>
  132.                 <caption label="Read It Later Apps" />
  133.                 
  134.                 <vbox style="padding-left:6px">
  135.                     The cool thing about Read It Later is that it's practically everywhere.  From
  136.                                         complete desktop and mobile apps to direct support in the applications you use most:
  137.                 </vbox>
  138.                 <vbox>
  139.                                         <label class="text-link"
  140.                     href="http://readitlaterlist.com/iphone/" 
  141.                     value="iPhone / iPod Touch App" />
  142.                                         
  143.                                         <label class="text-link"
  144.                     href="http://readitlaterlist.com/apps/mobile/" 
  145.                     value="Mobile Apps" />
  146.                                         
  147.                                         <label class="text-link"
  148.                     href="http://readitlaterlist.com/apps/news/" 
  149.                     value="RSS/News Apps" />
  150.                                         
  151.                                         <label class="text-link"
  152.                     href="http://readitlaterlist.com/apps/" 
  153.                     value="More Apps and Mashups" />
  154.                                         
  155.                                         <label class="text-link"
  156.                     href="http://readitlaterlist.com/api/" 
  157.                     value="Developer API : Build your own RIL app!" />
  158.                 </vbox>
  159.                 
  160.             </groupbox>
  161.             
  162.         </vbox>
  163.  
  164.         
  165.         <!--- Tab : Keyboard Shortcuts -->    
  166.  
  167.         <vbox hidden="true" id="RIL_options_keyboard" flex="1" class="RIL_option_tab">
  168.                 
  169.             <groupbox>
  170.                     <caption label="&ril.KeyboardShortcuts;" />
  171.                     
  172.                     <listbox id="RIL_keyboardShortcuts"
  173.                         rows="6"
  174.                         onselect="RILoptions.selectKey(event)">
  175.                         
  176.                         <listhead>
  177.                             <listheader label="&ril.Action;" style="width:250px"/>
  178.                             <listheader label="&ril.KeyboardShortcut;" flex="1"/>
  179.                         </listhead>
  180.                         <listcols>
  181.                             <listcol/>
  182.                             <listcol flex="1"/>
  183.                         </listcols>
  184.                         
  185.                         <listitem id="RIL_keyboardShortcuttoggle">
  186.                             <listcell label=" Save current page / Remove current page" />
  187.                             <listcell id="RIL_keyboardShortcuttoggle-v" />
  188.                         </listitem>
  189.                         
  190.                         <listitem id="RIL_keyboardShortcutopen_list">
  191.                             <listcell label=" &ril.OpenClose;" />
  192.                             <listcell id="RIL_keyboardShortcutopen_list-v" />
  193.                         </listitem>
  194.                         
  195.                         <listitem id="RIL_keyboardShortcutsidebar">
  196.                             <listcell label=" &ril.OpenCloseSidebar;" />
  197.                             <listcell id="RIL_keyboardShortcutsidebar-v" />
  198.                         </listitem>
  199.                         
  200.                         <listitem id="RIL_keyboardShortcutclick_mode">
  201.                             <listcell label=" &ril.ActivateClick;" />
  202.                             <listcell id="RIL_keyboardShortcutclick_mode-v" />
  203.                         </listitem>
  204.                         
  205.                         <listitem id="RIL_keyboardShortcutpush">
  206.                             <listcell label=" Perform toolbar button action" />
  207.                             <listcell id="RIL_keyboardShortcutpush-v" />
  208.                         </listitem>
  209.                         
  210.                         <listitem id="RIL_keyboardShortcutgr" singleKey="true">
  211.                             <listcell label=" Google Reader: Save selected page " />
  212.                             <listcell id="RIL_keyboardShortcutgr-v" />
  213.                         </listitem>
  214.                         
  215.                     </listbox>
  216.                     <grid>
  217.                         <columns>
  218.                             <column/>
  219.                             <column flex="1"/>
  220.                         </columns>
  221.                         <rows>
  222.                             <row>
  223.                                 <vbox align="right">
  224.                                     <spacer flex="1"/>
  225.                                     <label value="Press Key(s):"/>
  226.                                     <spacer flex="1"/>
  227.                                 </vbox>
  228.                                 <vbox flex="1">
  229.                                     <spacer flex="1"/>
  230.                                     <textbox id="RIL_newKey"
  231.                                                                                 onkeyup="RILoptions.keyUp(event)"
  232.                                                                                 onkeydown="RILoptions.keyDown(event)"
  233.                                         onkeypress="RILoptions.detectKey(event);"
  234.                                         disabled="true" />
  235.                                     <spacer flex="1"/>
  236.                                 </vbox>
  237.                                 <hbox>                                
  238.                                     <button id="RIL_setKey"
  239.                                         label="&ril.Set;"
  240.                                         disabled="true"
  241.                                         oncommand="RILoptions.setKey();"/>                                
  242.                                     <button id="RIL_disableKey"
  243.                                         label="Disable"
  244.                                         disabled="true"
  245.                                         oncommand="RILoptions.disableKey();"/>
  246.                                 </hbox>                                
  247.                             </row>
  248.                         </rows>
  249.                     </grid>
  250.                     <hbox>
  251.                         <spacer flex="1"/>
  252.                     </hbox>
  253.                     
  254.                     <description style="padding-top: 10px;font-style: italic;">&ril.ShortcutWarning;.</description>
  255.                                         
  256.                 </groupbox>
  257.                                     
  258.                 <spacer flex="1" />
  259.         </vbox>
  260.         
  261.         
  262.         
  263.         <!-- Tab : Appearance -->
  264.             
  265.         <vbox hidden="true" id="RIL_options_appearance" flex="1" class="RIL_option_tab">
  266.                                 
  267.             
  268.             <groupbox>
  269.                 <caption label="&ril.ReadingList;" />
  270.                 
  271.                 <grid>
  272.                     <columns>
  273.                         <column class="RIL_options_col1" />
  274.                         <column class="RIL_options_col2" flex="1" />
  275.                     </columns>
  276.                     
  277.                     <rows>                                
  278.                         <row>
  279.                             <label value="&ril.listLayout;:" />
  280.                             <menulist id="RIL_optionsListLayout">
  281.                                 <menupopup>
  282.                                     <menuitem label="&ril.compact;" value="cond" />
  283.                                     <menuitem label="&ril.expanded;" value="normal" />
  284.                                 </menupopup>
  285.                             </menulist>    
  286.                         </row>                            
  287.                         <row>
  288.                             <label value="&ril.openListIn;:" />
  289.                             <menulist id="RIL_optionsList">
  290.                                 <menupopup>
  291.                                     <menuitem label="Popup" value="btn" />
  292.                                     <menuitem label="&ril.ShowReadingList-sidebar;" value="sidebar" />
  293.                                 </menupopup>
  294.                             </menulist>    
  295.                         </row>                                
  296.                         <row>
  297.                             <label value="List format:"  />
  298.                             <menulist id="RIL_optionsListFormat" oncommand="RILoptions.togglePerPage();RILoptions.listSizeWarning()">
  299.                                 <menupopup>
  300.                                     <menuitem label="&ril.HowToDisplayItems-pages;" value="pages" />
  301.                                     <menuitem label="&ril.HowToDisplayItems-list;" value="scroll" />
  302.                                 </menupopup>
  303.                             </menulist>    
  304.                         </row>
  305.                         <row>
  306.                             <label value="&ril.itemsPerPage;:" />
  307.                             <textbox id="RIL_optionsPerPage" emptytext="Enter a number" />
  308.                         </row>
  309.                         <row>
  310.                             <label value="&ril.showUnreadCount;:" />
  311.                             <checkbox id="RIL_optionsUnreadCount" label="" />
  312.                         </row>
  313.                         <row>
  314.                             <label value="Show date:" />
  315.                             <checkbox id="RIL_optionsShowDate" label="" />
  316.                         </row>
  317.                     </rows>
  318.                     
  319.                 </grid>
  320.             </groupbox>    
  321.             <groupbox>
  322.                 <caption label="&ril.statusBarIcons;" />
  323.                 
  324.                 <grid>
  325.                     <columns>
  326.                         <column class="RIL_options_col1" />
  327.                         <column class="RIL_options_col2" flex="1" />
  328.                     </columns>
  329.                     
  330.                     <rows>
  331.                         <row>
  332.                             <label value="&ril.textView;:" />
  333.                             <menulist id="RIL_optionsTextView">
  334.                                 <menupopup>
  335.                                     <menuitem label="&ril.show;" value="show" />
  336.                                     <menuitem label="&ril.onSavedPages;" value="item" />
  337.                                     <menuitem label="&ril.hide;" value="hide" />
  338.                                 </menupopup>
  339.                             </menulist>    
  340.                         </row>
  341.                         <row>
  342.                             <label value="Share:" />
  343.                             <menulist id="RIL_optionsShare">
  344.                                 <menupopup>
  345.                                     <menuitem label="&ril.show;" value="show" />
  346.                                     <menuitem label="&ril.onSavedPages;" value="item" />
  347.                                     <menuitem label="&ril.hide;" value="hide" />
  348.                                 </menupopup>
  349.                             </menulist>    
  350.                         </row>
  351.                         <row>
  352.                             <label value="Click to Save:" />
  353.                             <menulist id="RIL_optionsClick">
  354.                                 <menupopup>
  355.                                     <menuitem label="&ril.show;" value="show" />
  356.                                     <menuitem label="&ril.hide;" value="hide" />
  357.                                 </menupopup>
  358.                             </menulist>    
  359.                         </row>
  360.                     </rows>
  361.                     
  362.                 </grid>
  363.             </groupbox>
  364.             
  365.         </vbox>
  366.         
  367.         
  368.                 
  369.                 <!-- Tab : Customize -->
  370.             
  371.         <vbox hidden="true" id="RIL_options_tweaks" flex="1" class="RIL_option_tab">
  372.                             
  373.             <groupbox>
  374.                 <caption label="&ril.actions;" />
  375.                 
  376.                 <grid>
  377.                     <columns>
  378.                         <column class="RIL_options_col1" />
  379.                         <column class="RIL_options_col2" flex="1" />
  380.                     </columns>
  381.                     
  382.                     <rows>                                
  383.                         
  384.                         <row>
  385.                             <label value="&ril.toolbarButton;:" />
  386.                             <menulist id="RIL_optionsButton">
  387.                                 <menupopup>
  388.                                     <menuitem label="&ril.OpensNext;" value="next" />
  389.                                     <menuitem label="&ril.OpensRand;" value="rand" />
  390.                                     <menuitem label="&ril.OpensList;" value="list" />
  391.                                 </menupopup>
  392.                             </menulist>    
  393.                         </row>
  394.                         <row>
  395.                             <label value="&ril.MarkAsRead;:" />
  396.                             <menulist id="RIL_optionsMarkAsRead">
  397.                                 <menupopup>
  398.                                     <!-- if order of items are changed update RILoptions.toggleAutoMarkRelated-->
  399.                                     <menuitem label="&ril.OpenNext;" value="next" />
  400.                                     <menuitem label="&ril.OpenRand;" value="rand" />
  401.                                     <menuitem label="&ril.CloseCurrentTab;" value="close" />
  402.                                     <menuitem label="&ril.DoNothing;" value="null" />
  403.                                 </menupopup>
  404.                             </menulist>    
  405.                         </row>
  406.                         <row>
  407.                             <label value="&ril.openItemsIn;:" />
  408.                             <menulist id="RIL_optionsOpenIn">
  409.                                 <menupopup>
  410.                                     <menuitem label="&ril.OpenCurrent;" value="current" />
  411.                                     <menuitem label="&ril.OpenTab;" value="tab" />
  412.                                     <menuitem label="&ril.OpenWindow;" value="window" />
  413.                                 </menupopup>
  414.                             </menulist>    
  415.                         </row>
  416.                         
  417.                         <row>
  418.                             <label value="&ril.autoMarkAsRead;:" />
  419.                             <checkbox id="RIL_optionsAutoMarkItems" value="1" />
  420.                         </row>
  421.                                         
  422.                         <row>
  423.                             <label value="&ril.autoClose;:" />
  424.                             <checkbox id="RIL_optionsAutoClose" value="1" />
  425.                         </row>
  426.                     </rows>
  427.                     
  428.                 </grid>
  429.             </groupbox>
  430.                 
  431.                                 <groupbox>
  432.                 <caption label="Advanced" />
  433.                 
  434.                 <grid>
  435.                     <columns>
  436.                         <column class="RIL_options_col1" />
  437.                         <column class="RIL_options_col2" flex="1" />
  438.                     </columns>
  439.                     
  440.                     <rows>    
  441.                         <row>
  442.                             <label value="&ril.autoSync;:" />
  443.                             <checkbox id="RIL_optionsAutoSync" label="" />
  444.                         </row><row>
  445.                             <label value="Store password securely:" />
  446.                             <checkbox id="RIL_optionsSecurePass" label="" />
  447.                         </row>
  448.                     </rows>
  449.                     
  450.                 </grid>
  451.             </groupbox>
  452.             
  453.         </vbox>
  454.         
  455.     
  456.         <!--- Tab : Help / Support -->    
  457.  
  458.                 <vbox hidden="true" id="RIL_options_help" flex="1" class="RIL_option_tab">
  459.             
  460.                         <groupbox>
  461.                 <caption label="Help Using Read It Later" />
  462.                     
  463.                 <label class="text-link"
  464.                     href="http://readitlaterlist.com/firefox/guide/" 
  465.                     value="Guide to Using Read It Later" />
  466.                                 
  467.                 <label class="text-link"
  468.                     href="http://readitlaterlist.com/support/" 
  469.                     value="Ask a question or make a suggestion" />
  470.                     
  471.             </groupbox>                        
  472.                         <groupbox>
  473.                 <caption label="Get the Latest" />
  474.                         
  475.                                 <label class="text-link"
  476.                     href="http://twitter.com/readitlater" 
  477.                     value="Follow @ReadItLater" />
  478.                                     <label class="text-link"
  479.                                         href="http://readitlaterlist.com/blog/" 
  480.                                         value="Read It Later Blog" flex="1" />
  481.                          </groupbox>    
  482.                         <groupbox>
  483.                 <caption label="Get Involved" />
  484.                         
  485.                                 <label class="text-link"
  486.                     href="http://readitlaterlist.com/translate/" 
  487.                     value="Help Translate" />
  488.                          </groupbox>
  489.         </vbox>
  490.         
  491.     </hbox>
  492.  
  493.                     
  494.     
  495.     <stringbundleset id="stringbundleset">
  496.      <stringbundle id="RIL_strings" src="chrome://isreaditlater/locale/jsstrings.properties"/>
  497.     </stringbundleset>    
  498.     
  499.     <script type="application/x-javascript" src="chrome://isreaditlater/content/RIL.js" />
  500.     <script type="application/x-javascript" src="chrome://isreaditlater/content/RILoptions.js" />
  501.     
  502. </dialog>
  503.